package com.yunlong.application;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.transaction.annotation.EnableTransactionManagement;
import springfox.documentation.swagger2.annotations.EnableSwagger2;

@MapperScan("com.yunlong.mapper")
@ComponentScan(basePackages = "com.yunlong")
@EnableSwagger2
@EnableTransactionManagement
@SpringBootApplication
public class WebControllerApplication {

    public static void main(String[] args) {
        SpringApplication.run(WebControllerApplication.class, args);
    }

}
